<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class AuthorizeNetAIM_Response</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class AuthorizeNetAIM_Response</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-vars">Vars</a>
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
											<a href="#sec-consts">Constants</a>
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Parses an AuthorizeNet AIM Response.</p>
		<p class="notes">
			Located in <a class="field" href="_lib---AuthorizeNetAIM.php.html">/lib/AuthorizeNetAIM.php</a> (line <span class="field">387</span>)
		</p>
		
				
		<pre><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html">AuthorizeNetResponse</a>
   |
   --AuthorizeNetAIM_Response</pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-consts">Constants</a>
							
															<a href="#sec-vars">Vars</a>
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
												
												<div class="method-definition">
											<span class="method-result">AuthorizeNetAIM_Response</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$response</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$delimiter</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$encap_char</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$custom_fields</span>)
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-consts">Constants</a>
							
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
										<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html">AuthorizeNetResponse</a></span></p>
					<blockquote>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$account_number">AuthorizeNetResponse::$account_number</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$address">AuthorizeNetResponse::$address</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$amount">AuthorizeNetResponse::$amount</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$approved">AuthorizeNetResponse::$approved</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$authorization_code">AuthorizeNetResponse::$authorization_code</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$avs_response">AuthorizeNetResponse::$avs_response</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$balance_on_card">AuthorizeNetResponse::$balance_on_card</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$card_code_response">AuthorizeNetResponse::$card_code_response</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$card_type">AuthorizeNetResponse::$card_type</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$cavv_response">AuthorizeNetResponse::$cavv_response</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$city">AuthorizeNetResponse::$city</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$company">AuthorizeNetResponse::$company</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$country">AuthorizeNetResponse::$country</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$customer_id">AuthorizeNetResponse::$customer_id</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$declined">AuthorizeNetResponse::$declined</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$description">AuthorizeNetResponse::$description</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$duty">AuthorizeNetResponse::$duty</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$email_address">AuthorizeNetResponse::$email_address</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$error">AuthorizeNetResponse::$error</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$fax">AuthorizeNetResponse::$fax</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$first_name">AuthorizeNetResponse::$first_name</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$freight">AuthorizeNetResponse::$freight</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$held">AuthorizeNetResponse::$held</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$invoice_number">AuthorizeNetResponse::$invoice_number</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$last_name">AuthorizeNetResponse::$last_name</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$md5_hash">AuthorizeNetResponse::$md5_hash</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$method">AuthorizeNetResponse::$method</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$phone">AuthorizeNetResponse::$phone</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$purchase_order_number">AuthorizeNetResponse::$purchase_order_number</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$requested_amount">AuthorizeNetResponse::$requested_amount</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$response">AuthorizeNetResponse::$response</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$response_code">AuthorizeNetResponse::$response_code</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$response_reason_code">AuthorizeNetResponse::$response_reason_code</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$response_reason_text">AuthorizeNetResponse::$response_reason_text</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$response_subcode">AuthorizeNetResponse::$response_subcode</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$ship_to_address">AuthorizeNetResponse::$ship_to_address</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$ship_to_city">AuthorizeNetResponse::$ship_to_city</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$ship_to_company">AuthorizeNetResponse::$ship_to_company</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$ship_to_country">AuthorizeNetResponse::$ship_to_country</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$ship_to_first_name">AuthorizeNetResponse::$ship_to_first_name</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$ship_to_last_name">AuthorizeNetResponse::$ship_to_last_name</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$ship_to_state">AuthorizeNetResponse::$ship_to_state</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$ship_to_zip_code">AuthorizeNetResponse::$ship_to_zip_code</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$split_tender_id">AuthorizeNetResponse::$split_tender_id</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$state">AuthorizeNetResponse::$state</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$tax">AuthorizeNetResponse::$tax</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$tax_exempt">AuthorizeNetResponse::$tax_exempt</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$transaction_id">AuthorizeNetResponse::$transaction_id</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$transaction_type">AuthorizeNetResponse::$transaction_type</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#var$zip_code">AuthorizeNetResponse::$zip_code</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-vars">Vars</a>
																			<a href="#sec-consts">Constants</a>
							
										<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">399</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructor. Parses the AuthorizeNet response string.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">AuthorizeNetAIM_Response</span>
		<span class="method-name">
			__construct
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$response</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$delimiter</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$encap_char</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$custom_fields</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$response</span><span class="var-description">: The response from the AuthNet server.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$delimiter</span><span class="var-description">: The delimiter used (default is &quot;,&quot;)</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$encap_char</span><span class="var-description">: The encap_char used (default is &quot;|&quot;)</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$custom_fields</span><span class="var-description">: Any custom fields set in the request.</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-vars">Vars</a>
														| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
										<h4>Inherited Constants</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html">AuthorizeNetResponse</a></span></p>
					<blockquote>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#constAPPROVED">AuthorizeNetResponse::APPROVED</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#constDECLINED">AuthorizeNetResponse::DECLINED</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#constERROR">AuthorizeNetResponse::ERROR</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../AuthorizeNet/AuthorizeNetResponse/AuthorizeNetResponse.html#constHELD">AuthorizeNetResponse::HELD</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>

	<p class="notes" id="credit">
		Documentation generated on Thu, 21 Oct 2010 17:30:58 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>